package com.springcloud.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //有参构造函数
@NoArgsConstructor //无参构造函数，没有这个的话  json转换异常
@JsonIgnoreProperties(ignoreUnknown = true) //复杂的对象嵌套即可解决
public class OrderPaidEvent implements Serializable {
	private String orderId;

    private BigDecimal paidMoney;
}
